package day08;

public class Person {
    //成员属性
    private String name;
    private int age;
    //成员方法
    //设置名字
    public void setName(String name) {
        this.name = name;
    }

    //介绍名字
    public void sayName(){
        System.out.println("My namr is" + name);
    }
    //show
    //构造方法
    //age get set
}
